//
//  WSMainCell.m
//  LANGirl
//
//  Created by 杨泓晔 on 16/3/8.
//  Copyright © 2016年 杨泓晔. All rights reserved.
//

#import "MainCell.h"


@interface MainCell ()


@end

@implementation MainCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:(CGRect)frame];
    if (self) {
        self.backgroundColor = [UIColor clearColor];
        self.contentView.backgroundColor = [UIColor clearColor];
        [self createSubView];
      
    }
    return self;
}

- (void)createSubView {
    
        self.contentLabel = [[UILabel alloc] init];
        [self.contentView addSubview:_contentLabel];
        self.contentLabel.text =@"视频播放完成";
        self.contentLabel.textAlignment = NSTextAlignmentCenter;
        self.contentLabel.textColor = [UIColor whiteColor];
        [self.contentLabel setFont:[UIFont systemFontOfSize:18]];
        [self.contentLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            
            make.size.mas_equalTo(CGSizeMake(SCREEN_WIDTH, 30));
            make.left.mas_equalTo(@0);
            make.top.mas_equalTo(SCREEN_HEIGHT - 155);
            
        }];
    
}


@end
